package com.groupbuying.settleproducer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.settleproducer.dao.SettleUshopSplitChannleDao;
import com.groupbuying.settleproducer.domain.SettleUshopSplitChannleDO;
import com.groupbuying.settleproducer.service.SettleUshopSplitChannleService;



@Service
public class SettleUshopSplitChannleServiceImpl implements SettleUshopSplitChannleService {
	@Autowired
	private SettleUshopSplitChannleDao settleUshopSplitChannleDao;
	
	@Override
	public SettleUshopSplitChannleDO get(String settleId){
		return settleUshopSplitChannleDao.get(settleId);
	}
	
	@Override
	public List<SettleUshopSplitChannleDO> list(Map<String, Object> map){
		return settleUshopSplitChannleDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return settleUshopSplitChannleDao.count(map);
	}
	
	@Override
	public int save(SettleUshopSplitChannleDO settleUshopSplitChannle){
		return settleUshopSplitChannleDao.save(settleUshopSplitChannle);
	}
	
	@Override
	public int update(SettleUshopSplitChannleDO settleUshopSplitChannle){
		return settleUshopSplitChannleDao.update(settleUshopSplitChannle);
	}
	
	@Override
	public int remove(String settleId){
		return settleUshopSplitChannleDao.remove(settleId);
	}
	
	@Override
	public int batchRemove(String[] settleIds){
		return settleUshopSplitChannleDao.batchRemove(settleIds);
	}
	
}
